package com.chinamobile.shiro_springboot.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.chinamobile.shiro_springboot.domain.Product;
import com.chinamobile.shiro_springboot.feign.ProductFeignService;

@Service
public class OrderServiceImpl implements OrderService{
	
	@Autowired
	private ProductFeignService ProductFeignService;

	@Override
	public Product getOrderById(Integer id) {
		return ProductFeignService.getProductById(id);
	}

}
